<?php
/*
	删除指定商品的活动

*/
defined('BY_JYA') or exit('error');
list($goods_id,$active_id,$plugin_name)=$arguments;
$goods=$this->get('goods',array('id'=>$goods_id,'uniacid'=>$_SESSION['uniacid']),array('id','active_plugin'));
if(!$goods){
	exi('指定商品不存在！','error');
}

$update=array(
	'active_plugin'=>'',
	'active_id'=>0,
);
$this->update('goods',$update,array('id'=>$goods_id));
return true;